//
//  Invoker.m
//  LearnObjectiveC
//
//  Created by client on 2017/9/9.
//  Copyright © 2017年 吴可高. All rights reserved.
//

#import "Invoker.h"
#import "Commend.h"

@implementation Invoker
@synthesize commend;
-(void)setCommend:(Commend *)newCommend
{
    commend = newCommend;
}

-(Commend *)commend
{
    return commend;
}

-(void)invokerWithCommend:(Commend *)newCommend
{
    commend = newCommend;
}

-(void)action
{
    [commend exe];
}

@end
